package com.cqc.manage.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 用户角色表
 */
@Entity(name = "user_role")
public class UserConnectionRole {

    @Id
    private String connectionId;

    private String userId;

    private String roleId;

    @Override
    public String toString() {
        return "UserConnectionRole{" +
                "connectionId='" + connectionId + '\'' +
                ", userId='" + userId + '\'' +
                ", roleId='" + roleId + '\'' +
                '}';
    }

    public String getConnectionId() {
        return connectionId;
    }

    public void setConnectionId(String connectionId) {
        this.connectionId = connectionId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
